package io.work;

import java.io.File;
import java.io.FileInputStream;

public class test1 {
    public static void main(String[] args) throws  Exception {
        File file=new File("fos.txt");
        FileInputStream fis=new FileInputStream(file);

        System.out.println(fis.read());
        System.out.println(fis.read());
        System.out.println(fis.read());
        System.out.println(fis.read());
        System.out.println("单字节读完毕");
        fis.close();

    }
}
